package com.orchard.orchardfarmmanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.orchard.orchardfarmmanagementsystem.entity.OrchardInfo;
import com.orchard.orchardfarmmanagementsystem.utils.Result;

import java.util.List;

public interface
OrchardInfoService extends IService<OrchardInfo> {


    List<OrchardInfo> getAllorchardinfo();

    OrchardInfo createOrchard(OrchardInfo orchardInfo);

    OrchardInfo updateOrchard(Long id,OrchardInfo orchardInfo);

    Result deleteOrchardById(Long id);
}